import scrapy


class CnblogsSpider(scrapy.Spider):
    name = "bili"
    allowed_domains = ["www.bilibili.com/"]
    start_urls = ["https://www.bilibili.com/"]

    def parse(self, response):
        print(response.request.headers["user-agent"])
